#!/usr/bin/env bash
cd /root/zxshuo
git pull
mvn clean package -Dmaven.test.skip=true
systemctl stop zxshuo
rm -rf /opt/zxshuo.jar
mv target/www-0.0.1-SNAPSHOT.jar /opt/zxshuo.jar
systemctl start zxshuo
